package com.njwb.day01;

import java.util.Scanner;

public class seasion2 {
    public static void main(String[] args) {

        Scanner sc=new Scanner(System.in);
        System.out.println("请输入月份");
        int month=sc.nextInt();
        if (month>=1&&month<=3){
            System.out.println("春");
        }
        else if (month>=4&&month<=6){
            System.out.println("夏");
        }
        else if (month>=7&&month<=9){
            System.out.println("秋");
        }
        else if (month>=10&&month<=12){
            System.out.println("冬");
        }
        else{
            System.out.println("月份不存在");
        }
    }
}
